﻿using Entity.Models.Entities;
using Entity.Models.vo.Menu;
using System;
using System.Collections.Generic;
using System.Text;

namespace Entity.Models.vo
{
    /// <summary>
    /// 菜单管理vo
    /// </summary>
    public class MenuInfos: BaseMenu
    {

        /// <summary>
        /// 目标
        /// </summary>
        public string Target { get; set; }

        /// <summary>
        /// 子菜单
        /// </summary>
        public List<MenuInfos> child { get; set; }

        public MenuInfos(MenuInfo menuInfo)
        {
            Id = menuInfo.Id;
            Title = menuInfo.Title;
            Href = menuInfo.Href;
            Icon = menuInfo.Icon;
            Target = menuInfo.Target;
        }

        public MenuInfos()
        {
           
        }

    }
}
